﻿using System;
using System.Collections.Generic;
using Kent.Boogaart.Truss.Specifications.Support.Entities;

namespace Kent.Boogaart.Truss.Specifications.Support
{
	public static class TheoryHelper
	{
		public static IEnumerable<Func<IPerson>> PersonFactories
		{
			get
			{
				yield return () => new Kent.Boogaart.Truss.Specifications.Support.Entities.INPC.Person();
				yield return () => new Kent.Boogaart.Truss.Specifications.Support.Entities.XxxChanged.Person();
				yield return () => new Kent.Boogaart.Truss.Specifications.Support.Entities.DOs.Person();
			}
		}

		public static IEnumerable<Func<IAddress>> AddressFactories
		{
			get
			{
				yield return () => new Kent.Boogaart.Truss.Specifications.Support.Entities.INPC.Address();
				yield return () => new Kent.Boogaart.Truss.Specifications.Support.Entities.XxxChanged.Address();
				yield return () => new Kent.Boogaart.Truss.Specifications.Support.Entities.DOs.Address();
			}
		}
	}
}